package com.example.forum.utils;

/**
 * Created with IntelliJ IDEA.
 * Description:字符串相关的工具类
 * User: liuLi
 * Date: 2024-08-10
 * Time: 22:40
 */
public class StringUtil {
    /**
     * 字符串是否为空
     *
     * @param value 待验证的字符串
     * @return true  空  <br/> false 非空
     */
    public static boolean isEmpty(String value) {
        return value == null || value.length() == 0;
    }
}
